home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
allsdi2.zip
/
ALLSDI2.DOC
next >
Wrap
Text File
|
1992-03-28
|
4KB
|
100 lines
ALLSDI2 (c) 1992 Karl Schneider
S & H Engineering
8505 Woodwick Ct.
For Wildcat! 3.0x+ ONLY! Tampa, FL 33615
813-884-9661 voice day/eve
bbs midnite-0600 EST
=======================================================================
This is an update of ALLSDI (which supports only ZIP files).
=======================================================================
ALLSDI2 is the 'reverse' of ADD-DES2, (which creates DESC.SDI files
in all 'archives' in your Wildcat Database). ALLSDI2 does for one
Wildcat 3.x File AREA what my AUTODESC program does to individual files
that have just been UPLOADED (via SCANFILE.BAT). When you execute
ALLSDI2 from your Wildcat 3 HOME DIRECTORY, it examines each archive
(of the specified type, ZIP, ARJ or LZH) file for the presence of either
DESC.SDI or FILE_ID.DIZ. If EITHER of these is found, ALLSDI2 puts
the contents of that description file into the corresponding Wildcat
File database record. It will truncate the description to 60 char-
acters to fit properly into the description field.
Files not archived by the specified method are skipped. If neither
DESC.SDI or FILE_ID.DIZ is found in the archive, nothing is done
to the record for that file. If one of them IS found, the file
description, if any, in its record will be over-written with the
information in the description file.
This program will be most useful in restoring some or many of your
file descriptions if you have to export/import your database due to
some kind of corruption, etc. It will not hurt anything to run it
more than once, but be aware that it does take some time! Every
archive must be opened up and checked, and the WC record updated.
I would strongly suggest you run this with all nodes DOWN...although
it will probably run OK, as file sharing is supported. It would
probably degrade the performance of other nodes if run with them
up.
You may want to get my ADD-DES2 program, so that your files will
ALL have a 'description' file in them! Then, in case of a corrupted
database, you will have a way to get the descriptions back into your
WC File records if they get lost in the repair process without having
to type them in by hand!
ALLSDI2 runs fine in Desqview, but does have some memory overhead, as
it invokes the appropriate archiving program via a shell to COMMAND.COM.
If you have ONLY .ZIP files in your system, you can use ALLSDI.EXE
and ADD-DESC.EXE.
Using ALLSDI2:
ALLSDI2.EXE must be either in your Wildcat 3.x home directory, or in
the DOS PATH.
It must be EXECUTED from the WC Home directory. The syntax is:
allsdi2 n arctype
where 'n' is the File AREA number to process
and 'arctype' is the type of archive files to process
Example:
allsdi2 4 zip
Finds all .ZIP archives in your WC File areas, extracts the
DESC.SDI or FILE_ID.DIZ description and inserts it into the
Wildcat File Database record for that archive.
For other file AREAS and/or ARCHIVES, simply substitute the file Area
Number and the archive type: ZIP, ARJ or LZH. These can be in UPPER
or lower case.
Note that you MUST HAVE the appropriate archive program available to
DOS via the PATH for this to work! They are:
PKUNZIP.EXE
ARJ.EXE
LHARC.EXE
I have not detected any problems with this program, but as with any
software, wide variations in system configurations can sometimes cause
unexpected or unforseeable results. For this reason, I make no war-
ranties with respect to this program as to its usability, safety to
data, or any results deriving from its use, and accept no responsibility
for any loss or damages directly or indirectly caused by using it.
The original version, ALLSDI.EXE has been running successfully on
networks, I know of no reason this update would not perform equally
well. If not, someone will have to let me know! If this
program is useful to you, a modest registration is in order. If
you contribute $35 or more, you will be entitled to support on ALL
my WC3 utilities. Any bug reports, comments or suggestion are
solicited and welcome! Thanks.
-eof-